package com.dongguo.shardingjdbc.entity;

import java.util.Date;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;


@SuppressWarnings("serial")
@Data
@NoArgsConstructor
@Accessors(chain = true)
@TableName("t_sys_config")
//extends BaseEntity
public class TestDemo  {
	
	//, type = IdType.AUTO
	@TableId(value = "id", type = IdType.ASSIGN_ID)
	private Long id;
	
	@TableField("password")
	private String password;
	
	@TableField("name")
	private String name;
	
	@TableField("age")
	private Integer age;
	
	@TableField("create_date")
	private Date createDate;
	
	@TableField("remarkr")
	private String remarkr;
	
	/**
	 * tenant_id
	 */
	@TableField("tenant_id")
	private Long tenantId;
	
}
